package cn.stylefeng.guns.modular.mapper;

import cn.stylefeng.guns.modular.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author XiangTianGe
 * @since 2020-04-07
 */
@Repository
public interface UserCompanyMapper extends BaseMapper<User> {

    void freeze(@Param("userId") Long userId);

    void unfreeze(@Param("userId") Long userId);

    User selectLogonId(@Param("logonId") String logonId);
}
